using System;

namespace MauiApp.Models
{
    /// <summary>
    /// 文件及其最后时间戳的数据传输对象
    /// </summary>
    public class FileWithLastTimestampDto
    {
        public long Id { get; set; }
        public string FileName { get; set; }
        public string SavedPath { get; set; }
        public string FtpPath { get; set; }
        public long FileTypeId { get; set; }
        public string FileTypeName { get; set; }
        public TimestampDto LastTimestamp { get; set; }
    }
    
    /// <summary>
    /// 时间戳的数据传输对象
    /// </summary>
    public class TimestampDto
    {
        public DateTime Time { get; set; }
        public DateTime OpenTime { get; set; }
    }
}